package com.crowdfunding.service.impl;

import com.crowdfunding.bean.Cert;
import com.crowdfunding.dao.AccountTypeCertMapper;
import com.crowdfunding.service.CertTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class CertTypeServiceImpl implements CertTypeService {
    @Autowired
    private AccountTypeCertMapper accountTypeCertMapper;

    @Override
    public List<Map<String, Object>> queryCertAccttype() {
        return accountTypeCertMapper.queryCertAccttype();
    }

    @Override
    public Integer addCertAccttype(Map<String, Object> param) {
        return accountTypeCertMapper.addCertAccttype(param);
    }

    @Override
    public Integer deleteCertAccttype(Map<String, Object> param) {
        return accountTypeCertMapper.deleteCertAccttype(param);
    }
}
